<template>
  <Portlet title="核销/回传" >
    <el-form label-position="left" label-width="120px">
      <el-col :lg="8" :md="12"  :xl="6">
        <el-form-item label="核销类型：">
          <span>{{ verifiySource | filterDataBaseDictionary }}</span>
        </el-form-item>
      </el-col>
      <el-col :lg="8" :md="12"  :xl="6">
        <el-form-item label="核销单号：">
          <span>{{ verifiysourceNo }}</span>
        </el-form-item>
      </el-col>
    </el-form>
    <div slot="tools" class="tools">
      <a href="javascript:;" class="collapse"></a>
    </div>
  </Portlet>
</template>
<script>
import {dotData} from '@/utils'
import {filterDataBaseDictionary} from '@/filters'
export default {
  name: 'writeOff',
  components: {
  },
  filters: {
    filterDataBaseDictionary
  },
  props: {
    orderDetail: {
      type: Object,
      required: true
    }
  },
  computed: {
    verifiySource() {
      return dotData(this.orderDetail, 'fhbOrderVerifiy.verifiySource')
    },
    verifiysourceNo() {
      return dotData(this.orderDetail, 'fhbOrderVerifiy.verifiysourceNo')
    }
  }
}
</script>
